package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: 蔺永斌
 * 分类DTO的转换
 * @Date: 2024/2/17
 * @Time: 13:55
 * @Description:
 */
@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);
    //SubjectCategoryBO convertBoToCategory(SubjectCategoryDTO subjectCategoryDTO);
    //List<SubjectCategoryDTO> convertBoToCategoryDTOList(List<SubjectCategoryBO> subjectCategoryBO);

    SubjectInfoBO convertDTOtoBO(SubjectInfoDTO subjectInfoDTO);
    SubjectInfoDTO convertBOtoDTO(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO convertDTOToBO(SubjectInfoDTO subjectInfoDTO);
}
